/********************************************************************************
 * Project Name		[JavaEE_Components]
 * File Name     	[MailConstants.java]
 * Creation Date 	[2015-01-01]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ********************************************************************************/
package javamail.utils;

/**
 * 发送和接收邮件的常量
 * 
 * @author 不落的太阳(Sean Yang aka ShortPeace)
 * @version 1.0
 * @since jdk 1.8
 * 
 */
public interface MailConstants {

	public static final String PROTOCOL_SMTP = "smtp";
	public static final String PROTOCAL_POP3 = "pop3";
	public static final String PROTOCAL_IMAP = "imap";

	public static final String SMTP_HOST_OF_SINA = "smtp.sina.com";
	public static final String SMTP_PORT_OF_SINA = "25";
	public static final String POP3_HOST_OF_SINA = "pop.sina.com";
	public static final String POP3_PORT_OF_SINA = "110";
	public static final String IMAP_HOST_OF_SINA = "imap.sina.com";
	public static final String IMAP_PORT_OF_SINA = "143";
	public static final Boolean IS_SSL_ENABLED_FOR_SINA = false;

	public static final Boolean IS_AUTHORIZATION_NEED = true;
	public static final Boolean IS_DEBUG_MOD_ENABLED = true;
}
